// ssr support
const inBrowser = typeof window !== 'undefined'
const ua = inBrowser && navigator.userAgent.toLowerCase()
const isWeChatDevTools = ua && /wechatdevtools/.test(ua)
const isAndroid = ua && ua.indexOf('android') > 0

export { inBrowser, ua, isWeChatDevTools, isAndroid }
